package cn.tedu.antconlonysever.contract.service;

import cn.tedu.antcolonycommons.pojo.vo.PageData;
import cn.tedu.antconlonysever.contract.pojo.param.LinkmanAddNewParam;
import cn.tedu.antconlonysever.contract.pojo.param.LinkmanUpdateParam;
import cn.tedu.antconlonysever.contract.pojo.vo.LinkmanListVO;
import cn.tedu.antconlonysever.contract.pojo.vo.LinkmanStandardVO;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Repository
@Transactional
public interface ILinkmanService {
    void addNew(LinkmanAddNewParam linkmanAddNewParam);
    void delete(Long id);
    void updateInfoById(Long id, LinkmanUpdateParam linkmanUpdateParam);
    LinkmanStandardVO getStandardById(Long id);
    PageData<LinkmanListVO> list(Integer pageNum);
    PageData<LinkmanListVO> list(Integer pageNum,Integer pageSize);
}
